package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_AccountDetailedForCompany", catalog="Id")
public class TcwAccountDetailedForCompany extends BaseEntity<TcwAccountDetailedForCompany> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Vgsjc", nameJava="vgsjc", typeDataBase="varchar")
	private String vgsjc;
	@YsField(nameDataBase="Vgsbmp", nameJava="vgsbmp", typeDataBase="varchar")
	private String vgsbmp;
	@YsField(nameDataBase="Vgsjcp", nameJava="vgsjcp", typeDataBase="varchar")
	private String vgsjcp;
	@YsField(nameDataBase="Vjylx", nameJava="vjylx", typeDataBase="varchar")
	private String vjylx;
	@YsField(nameDataBase="Fje", nameJava="fje", typeDataBase="decimal")
	private BigDecimal fje;
	@YsField(nameDataBase="FjeLeft", nameJava="fjeLeft", typeDataBase="decimal")
	private BigDecimal fjeLeft;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="Djysj", nameJava="djysj", typeDataBase="datetime")
	private Date djysj;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="Dshsj", nameJava="dshsj", typeDataBase="datetime")
	private Date dshsj;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="Mname", nameJava="mname", typeDataBase="varchar")
	private String mname;
	@YsField(nameDataBase="Mtype", nameJava="mtype", typeDataBase="int")
	private Integer mtype;
	@YsField(nameDataBase="Mnid", nameJava="mnid", typeDataBase="varchar")
	private String mnid;
	@YsField(nameDataBase="Mbid", nameJava="mbid", typeDataBase="varchar")
	private String mbid;
	@YsField(nameDataBase="Mguid", nameJava="mguid", typeDataBase="varchar")
	private String mguid;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="WriteTime", nameJava="writeTime", typeDataBase="datetime")
	private Date writeTime;
	@YsField(nameDataBase="OperatorDept", nameJava="operatorDept", typeDataBase="varchar")
	private String operatorDept;
	@YsField(nameDataBase="OperatorPosition", nameJava="operatorPosition", typeDataBase="varchar")
	private String operatorPosition;
	@YsField(nameDataBase="OperatorName", nameJava="operatorName", typeDataBase="varchar")
	private String operatorName;
	@YsField(nameDataBase="OperatorUserId", nameJava="operatorUserId", typeDataBase="varchar")
	private String operatorUserId;
	@YsField(nameDataBase="Vzhlx", nameJava="vzhlx", typeDataBase="varchar")
	private String vzhlx;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwAccountDetailedForCompany setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TcwAccountDetailedForCompany setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TcwAccountDetailedForCompany setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVgsjc() {
		return vgsjc;
	}
	public TcwAccountDetailedForCompany setVgsjc(String vgsjc) {
		this.vgsjc = vgsjc;
		return this;
	}
	public String getVgsbmp() {
		return vgsbmp;
	}
	public TcwAccountDetailedForCompany setVgsbmp(String vgsbmp) {
		this.vgsbmp = vgsbmp;
		return this;
	}
	public String getVgsjcp() {
		return vgsjcp;
	}
	public TcwAccountDetailedForCompany setVgsjcp(String vgsjcp) {
		this.vgsjcp = vgsjcp;
		return this;
	}
	public String getVjylx() {
		return vjylx;
	}
	public TcwAccountDetailedForCompany setVjylx(String vjylx) {
		this.vjylx = vjylx;
		return this;
	}
	public BigDecimal getFje() {
		return fje;
	}
	public TcwAccountDetailedForCompany setFje(BigDecimal fje) {
		this.fje = fje;
		return this;
	}
	public BigDecimal getFjeLeft() {
		return fjeLeft;
	}
	public TcwAccountDetailedForCompany setFjeLeft(BigDecimal fjeLeft) {
		this.fjeLeft = fjeLeft;
		return this;
	}
	public Date getDjysj() {
		return djysj;
	}
	public TcwAccountDetailedForCompany setDjysj(Date djysj) {
		this.djysj = djysj;
		return this;
	}
	public Date getDshsj() {
		return dshsj;
	}
	public TcwAccountDetailedForCompany setDshsj(Date dshsj) {
		this.dshsj = dshsj;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public TcwAccountDetailedForCompany setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public String getMname() {
		return mname;
	}
	public TcwAccountDetailedForCompany setMname(String mname) {
		this.mname = mname;
		return this;
	}
	public Integer getMtype() {
		return mtype;
	}
	public TcwAccountDetailedForCompany setMtype(Integer mtype) {
		this.mtype = mtype;
		return this;
	}
	public String getMnid() {
		return mnid;
	}
	public TcwAccountDetailedForCompany setMnid(String mnid) {
		this.mnid = mnid;
		return this;
	}
	public String getMbid() {
		return mbid;
	}
	public TcwAccountDetailedForCompany setMbid(String mbid) {
		this.mbid = mbid;
		return this;
	}
	public String getMguid() {
		return mguid;
	}
	public TcwAccountDetailedForCompany setMguid(String mguid) {
		this.mguid = mguid;
		return this;
	}
	public Date getWriteTime() {
		return writeTime;
	}
	public TcwAccountDetailedForCompany setWriteTime(Date writeTime) {
		this.writeTime = writeTime;
		return this;
	}
	public String getOperatorDept() {
		return operatorDept;
	}
	public TcwAccountDetailedForCompany setOperatorDept(String operatorDept) {
		this.operatorDept = operatorDept;
		return this;
	}
	public String getOperatorPosition() {
		return operatorPosition;
	}
	public TcwAccountDetailedForCompany setOperatorPosition(String operatorPosition) {
		this.operatorPosition = operatorPosition;
		return this;
	}
	public String getOperatorName() {
		return operatorName;
	}
	public TcwAccountDetailedForCompany setOperatorName(String operatorName) {
		this.operatorName = operatorName;
		return this;
	}
	public String getOperatorUserId() {
		return operatorUserId;
	}
	public TcwAccountDetailedForCompany setOperatorUserId(String operatorUserId) {
		this.operatorUserId = operatorUserId;
		return this;
	}
	public String getVzhlx() {
		return vzhlx;
	}
	public TcwAccountDetailedForCompany setVzhlx(String vzhlx) {
		this.vzhlx = vzhlx;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwAccountDetailedForCompany setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwAccountDetailedForCompany setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwAccountDetailedForCompany setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwAccountDetailedForCompany tcwAccountDetailedForCompany(
		String guid,
		String vgsbm,
		String vgsjc,
		String vgsbmp,
		String vgsjcp,
		String vjylx,
		BigDecimal fje,
		BigDecimal fjeLeft,
		Date djysj,
		Date dshsj,
		String vbz,
		String mname,
		Integer mtype,
		String mnid,
		String mbid,
		String mguid,
		Date writeTime,
		String operatorDept,
		String operatorPosition,
		String operatorName,
		String operatorUserId,
		String vzhlx,
		Integer status
			) {
		TcwAccountDetailedForCompany entity = new TcwAccountDetailedForCompany();
		entity.setGuid(guid);
		entity.setVgsbm(vgsbm);
		entity.setVgsjc(vgsjc);
		entity.setVgsbmp(vgsbmp);
		entity.setVgsjcp(vgsjcp);
		entity.setVjylx(vjylx);
		entity.setFje(fje);
		entity.setFjeLeft(fjeLeft);
		entity.setDjysj(djysj);
		entity.setDshsj(dshsj);
		entity.setVbz(vbz);
		entity.setMname(mname);
		entity.setMtype(mtype);
		entity.setMnid(mnid);
		entity.setMbid(mbid);
		entity.setMguid(mguid);
		entity.setWriteTime(writeTime);
		entity.setOperatorDept(operatorDept);
		entity.setOperatorPosition(operatorPosition);
		entity.setOperatorName(operatorName);
		entity.setOperatorUserId(operatorUserId);
		entity.setVzhlx(vzhlx);
		entity.setStatus(status);
		return entity;
	}
}